package spring.framework.context.event;

import spring.framework.context.ApplicationContext;
import spring.framework.context.ApplicationEvent;

/**
 * @author pengzh
 * @desc
 * @class ApplicationContextEvent
 * @since 2021-10-25
 */
public class ApplicationContextEvent extends ApplicationEvent {

    public ApplicationContextEvent(Object source) {
        super(source);
    }

    public final ApplicationContext getApplicationContext() {
        return (ApplicationContext) getSource();
    }

}
